package com.aaa.jur.feign;

import com.aaa.common.entity.LayUiTable;
import com.aaa.common.entity.Role;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author ：杨
 * @date ：Created in 2020/7/30 16:27
 * @description：
 * @modified By：
 * @version:
 */
@FeignClient(value = "jurService", fallback = FallBack.class)
public interface IJurService {
    @ResponseBody
    @RequestMapping("/role/selectAll")
    List<Role> selectAll();

    @ResponseBody
    @RequestMapping("/role/roleList")
    String roleList();

    @ResponseBody
    @RequestMapping("/role/selectAllRole")
    LayUiTable selectAllRole();

    @ResponseBody
    @RequestMapping("/role/selectById")
    Role selectById();

    @ResponseBody
    @RequestMapping("/role/deleteRole")
    LayUiTable deleteRole();

    @ResponseBody
    @RequestMapping("/role/saveRole")
    LayUiTable saveRole();

    @ResponseBody
    @RequestMapping("/role/updateRole")
    LayUiTable updateRole();


}
